export default class DemoService {
  async getDemoList() {
    const list: any = [];
    for (let i = 1; i <= 10; i++) {
      list.push({
        id: i,
        name: `name${i}`,
        age: i,
        sex: i % 2 === 0 ? '男' : '女',
        address: `address${i}`,
        createTime: new Date(),
        updateTime: new Date(),
      });
    }
    return list;
  }
}
